Function Reference

_StringProper

Changes a string to proper case, same a =Proper function in Excel

#Include <String.au3>
_StringProper ( $sString )

 

Parameters

$sString Input string

 

Return Value

Success: Returns proper string.
Failure: Returns "".
@Error: NA

 

Remarks

This function will capitalize every character following a None Apha character.

 

Related

None.

 

Example


#include <String.au3>
;Will return : Somebody Lastnames
Msgbox(0,'',_StringProper("somebody lastnames"))
;Will return : Some.Body Last(Name)
Msgbox(0,'',_StringProper("SOME.BODY LAST(NAME)"))
Exit